import request from '@/utils/request'

// 管理员登录
export const loginAPI = (data) => {
  return request.post('/auth/login', data)
}

// 管理员信息
export const adminMessage = () => {
  return request.get('/auth/currentUser')
}
